package com.superlistaportable.welcome;

import android.app.Activity;
import android.os.Bundle;

import com.example.superlistaportable.R;

public class WelcomeActivity extends Activity {
	private WelcomeModel model;
	private WelcomeView view;
	private WelcomeController controller;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        // Create MVC
        model = new WelcomeModel();
        view = new WelcomeView(this, model);
        controller = new WelcomeController(model, view, this);
        
        // Bind controller to buttons
        findViewById(R.id.startButton).setOnClickListener(controller);

    }


    
}
